
<html lang="zh-cn">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit|ie-stand|ie-comp" />
    <title>
        登录帐号和注册帐号
    </title>
    <link rel="stylesheet" href="/css/login/reset.css">
    <link rel="stylesheet" href="/css/login/passport.css">
    <link rel="stylesheet" href="/css/login/passport-index.css">

    <script src="/js/login/MD5.js"></script>
    <script src="/js/login/cookie.js"></script>
    <script src="/js/jquery-1.12.4.js"></script>

</head>

<body class="">
<div class="bg-img">
    <img src="/js/login/timg3.jpg" alt="">
</div>
<div class="user-login">

    <div class="login-wrap">
        <div class="logo">
            <img src="https://w1.hoopchina.com.cn/passport/pc/images/logo.png" alt=""><!--替换logo-->

        </div>

        <!-- 登录名、邮箱、手机+密码登录 -->
        <form class="common-form login-form" id="J_loginForm" autocomplete="off" method="post">
            <ul>
                <li>
                    <div class="ipt-wrap">
                        <input autocomplete="off" type="text" name="username" placeholder="登录名/手机号" data-rule="empty" data-name="帐号" id="mobile" tabindex="1">
                    </div>
                </li>
                <li id="J_insertVali">
                    <div class="ipt-wrap">
                        <input autocomplete="off" type="password" name="password" placeholder="密码" data-rule="empty" data-name="密码" id="password" tabindex="2">
                    </div>
                </li>
                <li class="clearfix sp-item">
                    <!-- <a href="/pc/findpwd.view?project=&from=https%3A%2F%2Fpassport.hupu.com%2Fpc_index&jumpurl=https%3A%2F%2Fpassport.hupu.com%2Fpc_index"  class="forget-btn fl">忘记密码？</a>-->
                    <a href="register.html" class="register-btn fr">没有帐号，立即注册 <b>></b></a>
                </li>
                <li><!--回填内容-->
                    <div id="float-captcha"></div>
                </li>
                <li><input type="button" class="submit-btn" id="submit" value="登录"></li>
            </ul>
        </form>
        <div class="login-method">
            <!--目前微信和QQ登陆是虎扑的-->
            <a href="" data-title="用微信帐号登录" class="login-weixin pop-box">微信登录</a>
            <a href=""  data-title="用QQ帐号登录" class="login-qq pop-box">QQ登录</a>
            <a href="" class="login-phone">手机短信快捷登录</a>
        </div>
    </div>
    <!--回填数据div-->

    <div id="cboxOverlay" ></div>
</div>
</div>
<script>
    $(function () {
        $("#submit").click(function () {

            $.post("/selectUserByMobile.do",{mobile:$("#mobile").val(),password:$("#password").val()},function (result) {
                alert(result.msg);
                if (result.flag==true){
                    location="/page/front_page/mall/mall_index.html"
                }
            });
        });
    });
</script>
</body>
</html>